<template>
    <div class="fillcontain">
        <head-top></head-top>
        <el-tabs type="border-card">
            <el-tab-pane label="课程列表">
                <subjectList></subjectList>
            </el-tab-pane>
            <el-tab-pane label="新增课程">
                <addSubject></addSubject>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>
<script>

    import headTop from '../components/headTop'
    import addStudent from '../page/addStudent'
    import userList from '../page/userList.vue'
    import {getUserList, getUserCount} from '@/api/getData'
    import subjectList from '../page/subjectList.vue'
    import addSubject from '../page/addSubject.vue'

    export default {
        data() {
            return {
                tableData: [{
                    registe_time: '2016-05-02',
                    username: '王小虎',
                    city: '上海市普陀区金沙江路 1518 弄'
                }, {
                    registe_time: '2016-05-04',
                    username: '王小虎',
                    city: '上海市普陀区金沙江路 1517 弄'
                }, {
                    registe_time: '2016-05-01',
                    username: '王小虎',
                    city: '上海市普陀区金沙江路 1519 弄'
                }, {
                    registe_time: '2016-05-03',
                    username: '王小虎',
                    city: '上海市普陀区金沙江路 1516 弄'
                }],
                currentRow: null,
                offset: 0,
                limit: 20,
                count: 0,
                currentPage: 1,
            }
        },
        components: {
            headTop,
            addStudent,
            userList,
            subjectList,
            addSubject,
        },

    }
</script>
